[release/9.0] [Identity][Templates] Ensure placeholders don't overlap with text #57789
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport of #57783 to release/9.0
/cc @javiercn
[Identity][Templates] Ensure placeholders don't overlap with text
Placeholder text on input textboxes overlaps with the label texts.
Description
Fixes https://github.com/dotnet/AspNetCore-ManualTests/issues/3081
Customer Impact
When the window size is small enough, customers could see overlapped text that's hard to read and is sometimes even impossible.
Regression?
8.0 since we introduced this behavior on 9.0 as part of accessibility fixes.
Risk
The attached videos serve as validation of the fix, in addition to that, the UI is completely customizable by customers.
Verification
Old behavior
New behavior
AccessibilityFix.mp4
Fix_MVC.mp4
Packaging changes reviewed?
When servicing release/2.1